Adds an artifact to a UWP (Windows) app version.
Uploads a per-version artifact such as a UWP framework dependency package (.msix/.appx) for a TENANT_WINDOWS_UWP app version.
About Tenant App Version Artifacts UWP (Universal Windows Platform) apps can require additional framework dependencies or signing certificates beyond the main app package. Artifacts let Esper store and deploy these supporting files alongside a specific app version, rather than bundling everything into the app package itself.
Key Fields / Query Parameters
appId— UUID of the tenant appversionId— UUID of the specific app version to attach the artifact toartifact_type— A .msix/.appx framework packagefile— The artifact file to upload
Common Use Cases
- Attaching a required framework dependency package to a UWP app version so it installs successfully
- Uploading a signing certificate needed to validate a UWP app package
- Managing multiple supporting files across different versions of the same Windows app
Best Practices
- Confirm artifact_type matches the actual file being uploaded — dependency packages and certificates are validated differently
- Upload all required dependencies before attempting to deploy the app version to devices
- Keep track of which artifacts belong to which versionId, since artifacts are version-scoped, not app-wide
Workflow
- Identify the appId and versionId the artifact belongs to
- POST the artifact file with the correct artifact_type
- Confirm successful upload before deploying that app version to Windows devices
Security
apps_management_apiKey
- Mock serverhttps://api.esper.io/_mock/openapi/v2/tenant-apps/{appId}/versions/{versionId}/artifacts
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/v2/tenant-apps/{appId}/versions/{versionId}/artifacts
curl -i -X POST \
'https://api.esper.io/_mock/openapi/v2/tenant-apps/{appId}/versions/{versionId}/artifacts' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: multipart/form-data' \
-F artifact_type=UWP_DEPENDENCY \
-F file=@file.binResponse
{ "content": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "version_id": "9e94c502-ca41-4342-a7f7-af96b444512c", "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "artifact_type": "UWP_DEPENDENCY", "file_name": "string", "metadata": { … } } }